<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>CountCPUs</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">CountCPUs()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>CountCPUs</b></font>(Type)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the number of CPU cores available. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Type</i></td>
<td width="90%"> 
 
The CPU type to request. It can be one of the following value: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_System_CPUs</font>        : the total number of CPU cores installed in the computer.
  <font color="#924B72">#PB_System_ProcessCPUs</font> : the available CPU cores for the current process. This is useful as the OS 
                           can limit a process to use only a small number of CPU.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Returns the number of CPU cores available. 

 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=computername.html>ComputerName()</a> - <a href=index.html>System Index</a> - <a href=delay.html>Delay()</a> -&gt;</body></html>